package com.zhuxulin.android.test.LButton;

import com.zhuxulin.android.test.R;
import com.zhuxulin.android.widget.LoadButton;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;

public class LoadButtonActivity extends Activity{
	private LoadButton lb=null;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.a_load_button);
		lb=(LoadButton) findViewById(R.id.ok_btn);
		lb.setOnClickListener(new OnClickListener() {
			@Override
			public void onClick(View v) {
				lb.setLoading(true);
			}
		});
	}
}
